<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="Public/Home/cs/content.css" />
<script src="./Public/Home/js/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="./Public/Home/js/jss.js" type="text/javascript" ></script>
<script src="./Public/Home/js/hdjs.min.js" type="text/javascript" ></script>
<title>无标题文档</title>
</head>
<body>

<div class="wrapper">
	<div class="top">
		<img src="Public/Home/images/logo.gif"/>
	</div>
	<!--login-->
	<form id="myform" action="" method="post">
		<div class="regist">
			<h1>注册新用户</h1>
			<div class="content_left">
				<div class="tag clearfix">
					<h2>选择注册方式：</h2>
					<ul id="tags">
						<li class="tb-email tb-email-select">使用Email注册</li>
						<li class="tb-phone tb-phone-select">使用手机号注册</li>
					</ul>
				</div>
				<!--表单验证Start-->
				<script type="text/javascript">
					$(function () {
				        $('#HDJS').validate({
				            uemail: {
				                rule: {
				                    required: true,
				                    email: true
				                },
				                error: {
				                    required: '邮箱不能为空',
				                    email: '邮箱不正确'
				                },
				                success: '输入正确',
				                message: '请输入邮箱'
				            },
				            web: {
				                rule: {
				                    http: true
				                },
				                error: {
				                    http: '网址格式不正确'
				                },
				                success: '网址正确'
				            },
				            mobile: {
				                rule: {
				                    phone: true
				                },
				                error: {
				                    phone: '手机号错误'
				                }
				            },
				            tel: {
				                rule: {
				                    tel: true
				                },
				                error: {
				                    tel: '电话号错误'
				                }
				            },
				            identity: {
				                rule: {
				                    identity: true
				                },
				                error: {
				                    identity: '身份证号错误'
				                }
				            },
				            chinaName: {
				                rule: {
				                    china: true
				                },
				                error: {
				                    china: '不是中文哟'
				                }
				            },
				            qq: {
				                rule: {
				                    qq: true
				                },
				                error: {
				                    qq: 'QQ号错了'
				                }
				            },
				            maxlen: {
				                rule: {
				                    maxlen: 10
				                },
				                error: {
				                    maxlen: '超过10位啦'
				                }
				            },
				            minlen: {
				                rule: {
				                    minlen: 5
				                },
				                error: {
				                    minlen: '不能小于5位'
				                }
				            },
				            num: {
				                rule: {
				                    num: '5,10'
				                },
				                error: {
				                    num: '输入5~10间的数字'
				                }
				            },
				            regexp: {
				                rule: {
				                    regexp: /^[1-9]{2}$/
				                },
				                error: {
				                    regexp: '不是2位数字'
				                }
				            },
				            upsw: {
				                rule: {
				                    required: true,
				                    confirm: 'cupsw'
				                },
				                error: {
				                    required: '密码不能为空',
				                    confirm: '两次密码不一致'
				                }
				            },
				            sex: {
				                rule: {
				                    required: true
				                },
				                error: {
				                    required: '请选择性别'
				                }
				            },
				            mood: {
				                rule: {
				                    required: true
				                },
				                error: {
				                    required: '你的心情？'
				                }
				            },
				            website: {
				                rule: {
				                    required: true
				                },
				                error: {
				                    required: '你还没选网站呢？'
				                }
				            },
				            webname: {
				                rule: {
				                    required:true,
				                    ajax:{url:'Dev/validate/ajaxCheck.php'}
				                },
				                error: {
				                    required: '网址不能为空',
				                    ajax:'网址输入错了'
				                },
				                success:'你答对了'
				            }
				        })
				    })
				</script>
				<form id="HDJS" action="" method="post">
				<div class="infor clearfix">
					<h2>填写你的信息：</h2>
					<div class="email">
						<span>Email地址：</span>
						<input type="text" name="uemail" >
					</div>
					<div class="email like">
						<span>设定登录密码：</span>
						<input type="password" name="password">
					</div>
					<div class="email like">
						<span>再次输入密码：</span>
						<input type="password" name="password2">
					</div>
					<div class="clear"></div>
					<div class="yzbox">
						<span class="yanzheng">验证码：</span>
						<input class="shuru" type="text" name="code"/>
						<a  href="javascript:;"><img id="codeImg" src="<?php echo U('code')?>"/></a>
						<div id="codeA" class="kan">
							看不清？
							换一张
						</div>
					</div>
					<div class="reder">
						<input type="submit" value="同意以上条款并注册"/>
					</div>
				</div>
				</form>
			</div>
			<div class="content_right">
				<p>我已经注册，现在就
					<a href="<?php echo U('Login/index')?>">登录</a>
				</p>
			</div>
			<div class="clear"></div>
		</div>
	</form>
	<div class="bottom">
		<p>Copyright 2007 - 2014 vancl.com All Rights Reserved 京ICP证100557号 京公网安备11010102000579号 出版物经营许可证新出发京批字第直110138号</p>
		<div class="subFooter">
			<a class="redLogo" href=""></a>
			<span class="costumeOrg"></span>
			<a class="wsjyBzzx" href=""></a>
			<a class="vanclMsg" href=""></a>
		</div>
	</div>
</div>
</body>
</html>